<template>
    <view  :style="' background-color:'+item.style.bgColor+';padding:'+item.style.paddingTop+'rpx '+item.style.paddingLeft+'rpx;'" style="display: flex;align-items: center;background-color: white">
        <view v-for="(image,index) in item.data.image" style="width: 25%;text-align: center;padding: 20rpx;" @click="toAdJump(index)">
			<image :src="image.url" style="width: 100%" mode="widthFix" :show-menu-by-longpress="$config.common.show_img_menu==1?true:false"></image>
			<view style="height: 60rpx;width: 100%;">
				{{image.title}}
			</view>
        </view>
    </view>
</template>
<script>
    var _self ;
	export default {
        props: [ 'item'],
		data() {
			return {
            };
		},
        created(){
        },
		methods: {
			toAdJump(e){
				let item =  this.item.data.image[e];
				this.$c.adJump(item,this.$config)
			}
		},
	}
</script>
<style>
	.hide-button{
		position: relative;
		display: block;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0px;
		padding-right: 0px;
		box-sizing: border-box;
		text-align: center;
		text-decoration: none;
		line-height: 1;
		-webkit-tap-highlight-color: transparent;
		overflow: hidden;
		background-color: #fff;
		width: 100%;
		height: 100%;
		border: 0;
	}
	.hide-button::after{
		border: 0;
		background-color: none;
	}
</style>

